import request from '@/utils/request'

export default {
    //根据手机号发验证码
  // sendCode(phone) {
  //   return request({
  //     url: `/edumsm/msm/send/${phone}`,
  //     method: 'get'
  //   })
  // },
  // 根据邮箱获取验证码
  sendCode(email) {
    return request({
      url: `/edumsm/msm/sendEmail/${email}`,
      method: 'get'
    })
  },

  //注册的方法
  registerMember(formItem) {
    return request({
      url: `/educenter/member/register`,
      method: 'post',
      data: formItem
    })
  }

}